<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <h1>理解函数实际运行机制</h1>
    <script>
        var sMessage = "Hello World";
        function sayHelloWorld() {
            alert(sMessage)//只是变量名  内部内容并没有在这里 才会根据变量名找到内部内容
        }
        sayHelloWorld();
    </script>
</body>
</html>